import Vue from 'vue'
import Router from 'vue-router'
//import Hello from '@/components/Hello'

Vue.use(Router)

import Food from '../pages/Food'
import Find from '../pages/Find'
import Order from '../pages/Order'
import User from '../pages/User'
import Shop from '../pages/Shop'

let routes=[{
		name: 'food',
		path: '/food',
		component: Food
	}, {
		name: 'find',
		path: '/find',
		component: Find
	},
	{
		name: 'order',
		path: '/order',
		component: Order
	}, {
		name: 'user',
		path: '/user',
		component: User
	},{
		name: 'shop',
		path: '/shop/:id',
		component: Shop
	}
]


export default new Router({
  routes
})
